<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Io::SocketOptions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html">Io</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classAws_1_1Crt_1_1Io_1_1SocketOptions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Io::SocketOptions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="SocketOptions_8h_source.html">SocketOptions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2e6627e00ee2e2496f7cc72c12f72b56"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2e6627e00ee2e2496f7cc72c12f72b56">SocketOptions</a> ()</td></tr>
<tr class="separator:a2e6627e00ee2e2496f7cc72c12f72b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c727acc2fb48714414f4a7a436193e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c727acc2fb48714414f4a7a436193e7">SocketOptions</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;rhs)=default</td></tr>
<tr class="separator:a2c727acc2fb48714414f4a7a436193e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1be2a66410a13a472bb256636499ea1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af1be2a66410a13a472bb256636499ea1">SocketOptions</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;rhs)=default</td></tr>
<tr class="separator:af1be2a66410a13a472bb256636499ea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1d59b2d73797cbc3adaa7a5d3981788"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab1d59b2d73797cbc3adaa7a5d3981788">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;rhs)=default</td></tr>
<tr class="separator:ab1d59b2d73797cbc3adaa7a5d3981788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04a1afbbc253079ec1b12148eecaad03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a04a1afbbc253079ec1b12148eecaad03">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;rhs)=default</td></tr>
<tr class="separator:a04a1afbbc253079ec1b12148eecaad03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4539b3d8ae69a646d5e1c9de3a2f0f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa4539b3d8ae69a646d5e1c9de3a2f0f3">SetSocketType</a> (<a class="el" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a> <a class="el" href="namespaceAws.html#a5256b1ff01fae77769fee34ff8ef45a7">type</a>)</td></tr>
<tr class="separator:aa4539b3d8ae69a646d5e1c9de3a2f0f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3f15fd43d8239d4900a1a94a84030bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab3f15fd43d8239d4900a1a94a84030bf">GetSocketType</a> () const</td></tr>
<tr class="separator:ab3f15fd43d8239d4900a1a94a84030bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa43034341f19b6cc4c35e83c238fd543"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa43034341f19b6cc4c35e83c238fd543">SetSocketDomain</a> (<a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a> domain)</td></tr>
<tr class="separator:aa43034341f19b6cc4c35e83c238fd543"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe860c9db9fec78f9ff21e75b9066e1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#abe860c9db9fec78f9ff21e75b9066e1d">GetSocketDomain</a> () const</td></tr>
<tr class="separator:abe860c9db9fec78f9ff21e75b9066e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab94fd569a92ef5cafb44f589023910e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab94fd569a92ef5cafb44f589023910e2">SetConnectTimeoutMs</a> (uint32_t timeout)</td></tr>
<tr class="separator:ab94fd569a92ef5cafb44f589023910e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a807294198f6870f158366c886e301085"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a807294198f6870f158366c886e301085">GetConnectTimeoutMs</a> () const</td></tr>
<tr class="separator:a807294198f6870f158366c886e301085"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc7da8e670cb929594f20759bec8679"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aafc7da8e670cb929594f20759bec8679">SetKeepAliveIntervalSec</a> (uint16_t keepAliveInterval)</td></tr>
<tr class="separator:aafc7da8e670cb929594f20759bec8679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af26f6acc8828eec69c3d48caae523e96"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af26f6acc8828eec69c3d48caae523e96">GetKeepAliveIntervalSec</a> () const</td></tr>
<tr class="separator:af26f6acc8828eec69c3d48caae523e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa821f8fe9b4ff242ca136e183270c4c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa821f8fe9b4ff242ca136e183270c4c6">SetKeepAliveTimeoutSec</a> (uint16_t keepAliveTimeout)</td></tr>
<tr class="separator:aa821f8fe9b4ff242ca136e183270c4c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaec6a6bba4da287db68119c03c13e44"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aeaec6a6bba4da287db68119c03c13e44">GetKeepAliveTimeoutSec</a> () const</td></tr>
<tr class="separator:aeaec6a6bba4da287db68119c03c13e44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c3d435cde37ba74acb5bff0f4d1764f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c3d435cde37ba74acb5bff0f4d1764f">SetKeepAliveMaxFailedProbes</a> (uint16_t maxProbes)</td></tr>
<tr class="separator:a2c3d435cde37ba74acb5bff0f4d1764f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adab1d2b3b3b9368fe751d29770d8b688"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#adab1d2b3b3b9368fe751d29770d8b688">GetKeepAliveMaxFailedProbes</a> () const</td></tr>
<tr class="separator:adab1d2b3b3b9368fe751d29770d8b688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd47d078f5f48fe3eefababd23d5c163"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#acd47d078f5f48fe3eefababd23d5c163">SetKeepAlive</a> (bool keepAlive)</td></tr>
<tr class="separator:acd47d078f5f48fe3eefababd23d5c163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb94e37116c4a6ccd80ebe3f0950806"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#affb94e37116c4a6ccd80ebe3f0950806">GetKeepAlive</a> () const</td></tr>
<tr class="separator:affb94e37116c4a6ccd80ebe3f0950806"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Socket Options </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2e6627e00ee2e2496f7cc72c12f72b56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6627e00ee2e2496f7cc72c12f72b56">&#9670;&nbsp;</a></span>SocketOptions() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::SocketOptions::SocketOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2c727acc2fb48714414f4a7a436193e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c727acc2fb48714414f4a7a436193e7">&#9670;&nbsp;</a></span>SocketOptions() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::SocketOptions::SocketOptions </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af1be2a66410a13a472bb256636499ea1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1be2a66410a13a472bb256636499ea1">&#9670;&nbsp;</a></span>SocketOptions() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::SocketOptions::SocketOptions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a807294198f6870f158366c886e301085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a807294198f6870f158366c886e301085">&#9670;&nbsp;</a></span>GetConnectTimeoutMs()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Aws::Crt::Io::SocketOptions::GetConnectTimeoutMs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="affb94e37116c4a6ccd80ebe3f0950806"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affb94e37116c4a6ccd80ebe3f0950806">&#9670;&nbsp;</a></span>GetKeepAlive()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Io::SocketOptions::GetKeepAlive </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af26f6acc8828eec69c3d48caae523e96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af26f6acc8828eec69c3d48caae523e96">&#9670;&nbsp;</a></span>GetKeepAliveIntervalSec()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Aws::Crt::Io::SocketOptions::GetKeepAliveIntervalSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="adab1d2b3b3b9368fe751d29770d8b688"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adab1d2b3b3b9368fe751d29770d8b688">&#9670;&nbsp;</a></span>GetKeepAliveMaxFailedProbes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Aws::Crt::Io::SocketOptions::GetKeepAliveMaxFailedProbes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeaec6a6bba4da287db68119c03c13e44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeaec6a6bba4da287db68119c03c13e44">&#9670;&nbsp;</a></span>GetKeepAliveTimeoutSec()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Aws::Crt::Io::SocketOptions::GetKeepAliveTimeoutSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="abe860c9db9fec78f9ff21e75b9066e1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe860c9db9fec78f9ff21e75b9066e1d">&#9670;&nbsp;</a></span>GetSocketDomain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a> Aws::Crt::Io::SocketOptions::GetSocketDomain </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab3f15fd43d8239d4900a1a94a84030bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3f15fd43d8239d4900a1a94a84030bf">&#9670;&nbsp;</a></span>GetSocketType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a> Aws::Crt::Io::SocketOptions::GetSocketType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab1d59b2d73797cbc3adaa7a5d3981788"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1d59b2d73797cbc3adaa7a5d3981788">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a>&amp; Aws::Crt::Io::SocketOptions::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a04a1afbbc253079ec1b12148eecaad03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04a1afbbc253079ec1b12148eecaad03">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a>&amp; Aws::Crt::Io::SocketOptions::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab94fd569a92ef5cafb44f589023910e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab94fd569a92ef5cafb44f589023910e2">&#9670;&nbsp;</a></span>SetConnectTimeoutMs()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetConnectTimeoutMs </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set connection timeout </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>connection timeout in milliseconds. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acd47d078f5f48fe3eefababd23d5c163"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd47d078f5f48fe3eefababd23d5c163">&#9670;&nbsp;</a></span>SetKeepAlive()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetKeepAlive </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>keepAlive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set keep alive option. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">keepAlive</td><td>True, periodically transmit keepalive messages for detecting a disconnected peer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aafc7da8e670cb929594f20759bec8679"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafc7da8e670cb929594f20759bec8679">&#9670;&nbsp;</a></span>SetKeepAliveIntervalSec()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetKeepAliveIntervalSec </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>keepAliveInterval</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set keep alive interval seconds. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">keepAliveInterval</td><td>Duration, in seconds, between keepalive retransmissions, if acknowledgement of previous keepalive transmission is not received. If 0, then a default value is used. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2c3d435cde37ba74acb5bff0f4d1764f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c3d435cde37ba74acb5bff0f4d1764f">&#9670;&nbsp;</a></span>SetKeepAliveMaxFailedProbes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetKeepAliveMaxFailedProbes </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>maxProbes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set keep alive max failed probes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">maxProbes</td><td>The number of keepalive probes allowed to fail before a connection is considered lost. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa821f8fe9b4ff242ca136e183270c4c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa821f8fe9b4ff242ca136e183270c4c6">&#9670;&nbsp;</a></span>SetKeepAliveTimeoutSec()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetKeepAliveTimeoutSec </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>keepAliveTimeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set keep alive time out seconds. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">keepAliveTimeout</td><td>Duration, in seconds, between keepalive transmissions in idle condition. If 0, then a default value is used. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa43034341f19b6cc4c35e83c238fd543"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa43034341f19b6cc4c35e83c238fd543">&#9670;&nbsp;</a></span>SetSocketDomain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetSocketDomain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a>&#160;</td>
          <td class="paramname"><em>domain</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set socket domain </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">domain</td><td>SocketDomain object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa4539b3d8ae69a646d5e1c9de3a2f0f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4539b3d8ae69a646d5e1c9de3a2f0f3">&#9670;&nbsp;</a></span>SetSocketType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Io::SocketOptions::SetSocketType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set socket type </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>SocketType object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/io/<a class="el" href="SocketOptions_8h_source.html">SocketOptions.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/io/<a class="el" href="SocketOptions_8cpp.html">SocketOptions.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
